import { Component } from '@angular/core';

@Component({
  selector: 'app-toggle',
  templateUrl: './toggle.component.html',
  styles: [''],
})
export class ToggleComponent {
  ip = '2001:3CA1:010F:001A:121B:0000:0000:0010';
  type = 'v6';

  constructor() {}

  change(): void {
    this.type = this.type === 'v6' ? 'v4' : 'v6';
  }
}
